﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using WW.NActiveRecord.Internal;
using WW.NActiveRecord.Tests.Models;

namespace WW.NActiveRecord.Tests.Associations {
    [TestFixture]
    public class TestInclude : BaseTest
    {
        [TestFixtureSetUp]
        public void SetUpFixture() {
            base.SetUpDb(Table_Employees, Table_Products, Table_Categories);
        }

        [Test]
        [Explicit]
        public void XTestInclude() {
            Debug2.Print(Product.All.Include(
                p => p.Category.Products.First().Category,
                p => p.Supplier.Products2.First().Category).Sql());
        }
    }
}
